

import { getUrl,  postUrl } from "../until/request"

/**
 * @description: 获取所有文章
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const getAuditData = async (url, params) => await getUrl(url, params)

/**
 * @description: 删除
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const delAuditHttp = async (url, params) => await getUrl(url, params)

/**
 * @description: 启用
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const okUseAuditHttp = async (url, params) => await postUrl(url, params)  
/**
 * @description: 禁用
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const noUseAuditHttp = async (url, params) => await postUrl(url, params)  
/**
 * @description: 禁用
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
 export const getCompanyHttp = async (url, params) => await getUrl(url, params)
 /**
 * @description: add
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
  export const addAuditHttp = async (url, params) => await postUrl(url, params)
  /**
 * @description: edit
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
 export const editAuditHttp = async (url, params) => await postUrl(url, params)




